<!---
	Name         : dsp.newticket.cfm
	Author       : Russ Johnson 
	Created      : 08/28/2006
	Last Updated : 08/28/2006
	History      : 
--->

<cfset page = viewState.getValue("page")>
<cfset pageRender = viewState.getValue("pagerender")>
<cfset webpath = viewState.getValue("webpath")>

<!--- Translate xx.aa_bb to xx / aa bb --->
<cfset title = page.getPath()>
<cfset title = replace(title, ".", " | ", "all")>
<cfset title = replace(title, "_", " ", "all")>

<cfset viewState.setValue("title", title)>

<cfoutput><h3 class="title">
<cfset pathSoFar = ""/>
<cfset segmentCount = listLen(page.getPath(), ".")/>
<cfloop from="1" to="#segmentCount#" index="i">
	<cfset segment = ListGetAt(page.getPath(), i, ".")/>
	<cfif i EQ 1><cfset pathSoFar = segment/><cfelse><cfset pathSoFar = "#pathSoFar#.#segment#"/></cfif>
	<cfif i LT segmentCount>
		<a href="#webpath#/index.cfm/#pathSoFar#">#replace(segment, "_", " ", "all")#</a> | 
	<cfelse>
		#replace(segment, "_", " ", "all")#
	</cfif>
</cfloop>
</h3>
</cfoutput>

<cfif len(pageRender)>
	<cfoutput>#pageRender#</cfoutput>
</cfif>